package com.h1909d.weinfo.util;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class TimeUtil {

    public static String parseTime(Calendar day){
        //格式化日期
        SimpleDateFormat yyyyMMdd = new SimpleDateFormat("yyyyMMdd");
        return yyyyMMdd.format(day.getTime());
    }
}